enum NoYes{
    No,
    Yes

}
function toChinese(value:NoYes){
    switch(value){
        case NoYes.No:
            return 'fou'
        case NoYes.Yes:
            return 'yes'
    }
}
toChinese(NoYes.No)

const a1:{
    readonly name:string
} ={
    name:'ryf'
}
// a1.name='lxf'
class Person{
    #name:string;
    constructor(name:string){
        this.#name = name
    }
    greet(){
        console.log(`hello my bane is ${this.#name}`);
        
    }
}
const tf = new Person('xc');
// tf.#name